
function tranObject(pro)
{
	
	if (pro["object_type"] !== undefined && pro["object_type"] !== null)
	{
		pro.__proto__ = eval("new " + pro["object_type"] + "();");
	}

	for(var i in pro)
	{
		if(pro[i] !== undefined && pro[i] !== null)
		{
			if (pro[i]["object_type"] !== undefined && pro[i]["object_type"] !== null)
			{
				tranObject(pro[i]);
			}
		}
	}

	return pro;
}
